package com.platform.modules.quality.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;


@Data
@TableName("QLY_ACCEPTANCE")
@ApiModel("质量验收")
public class QlyAcceptanceEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId
    private String accId;

    @ApiModelProperty("项目ID")
    private String prjId;
    
    @ApiModelProperty("一级工区ID")
    private String prjParentAreaId;
    
    @ApiModelProperty("验收工区ID")
    private String prjAreaId;
    
    @ApiModelProperty("验收类型")
    private String accType;
    
    @ApiModelProperty("验收内容")
    private String accContent;
    
    @ApiModelProperty("验收人ID")
    private String accUserId;
    
    @ApiModelProperty("验收人姓名")
    private String accUserName;
    
    @ApiModelProperty("验收人角色")
    private String accUserRole;
    
    @ApiModelProperty("验收时间")
    private String accTime;
    
    @ApiModelProperty("施工单位检查评定结果")
    private String assResult;
    
    @ApiModelProperty("监理(建设)单位验收结论")
    private String accResult;
    
    @ApiModelProperty("信息点数据")
    private String poiData;
    
    @ApiModelProperty("图纸文件ID")
    private String attId;

    
    /**
     * 其他业务字段
     */
    @TableField(exist = false)
    @ApiModelProperty("项目名称")
    private String prjName;
    
    @TableField(exist = false)
    @ApiModelProperty("建设单位名称")
    private String buildCorpName;
    
    @TableField(exist = false)
    @ApiModelProperty("施工单位名称")
    private String sgCorpName;
    
    @TableField(exist = false)
    @ApiModelProperty("省份编码")
    private String provinceNum;
    
    @TableField(exist = false)
    @ApiModelProperty("市编码")
    private String cityNum;
    
    @TableField(exist = false)
    @ApiModelProperty("区县编码")
    private String countyNum;
    
    @TableField(exist = false)
    @ApiModelProperty("验收部位名称")
    private String prjAreaName;

    @TableField(exist = false)
    @ApiModelProperty("验收人列表")
    private List<QlyAcceptancePersonnelEntity> personnels;
    
}
